package com.lbl.service;

import com.lbl.bean.Category;
import com.lbl.dao.CategoryDao;

import java.io.IOException;
import java.util.List;

public class CategoryService {
    public List<Category> findAll() throws IOException {
        CategoryDao categoryDao = new CategoryDao();
        List<Category> result = categoryDao.findAll();
        return result;
    }
}
